import requests
h={"User-Agent":"Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Mobile Safari/537.36 Edg/126.0.0.0"}
response=requests.get("https://www.baidu.com/",headers=h)

print(response.content.decode(("utf-8")))